package com.cisau.service;



import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.mybatis.spring.annotation.MapperScan;

import com.cisau.entity.PuserEntity;

@MapperScan
public interface PuserService {
	boolean userExist(String phone);
	void register(PuserEntity puser,HttpServletRequest request);
	PuserEntity login(PuserEntity puser, HttpServletRequest request);
	
	void addMoney(PuserEntity puser);
	
	List<PuserEntity> findAllUser();
	
	void findUser(HttpServletRequest request);
	
	void update(PuserEntity puser);
	
	void subtract(HttpServletRequest request);
}
